﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace B.S.DataBase.MyProject.Domain.SalesReports
{
    /// <summary>
    /// 采购订单明细
    /// </summary>
    public class Purchaseorderbeath
    {
        [Key]
        public int Puid { get; set; }
        /// <summary>
        /// 跟单编号
        /// </summary>
        public string? Gencode { get; set; }
        /// <summary>
        /// 计划编号
        /// </summary>
        public string? Plancode { get; set; }
        /// <summary>
        /// 单据编码
        /// </summary>
        public string? Materialcode { get; set; }
        /// <summary>
        /// 单据状态
        /// </summary>
        public string? MaterialStute { get; set; }
        /// <summary>
        /// 供应商
        /// </summary>
        public string? SupName { get; set; }
        /// <summary>
        /// 物料名称
        /// </summary>
        public string? WulName { get; set; }
        /// <summary>
        /// /物料名称
        /// </summary>
        public string? WulCode { get; set; }
        /// <summary>
        /// 需求日期
        /// </summary>
        public DateTime? NeedDate { get; set; }
        /// <summary>
        /// 采购数量
        /// </summary>
        public int Buynum { get; set; }
        /// <summary>
        /// 到货数量
        /// </summary>
        public int GettoNum { get; set; }
        /// <summary>
        /// 单据日期
        /// </summary>
        public DateTime MaterialDaate { get; set; }
    }
}
